import {request} from "../../request";

export function getPutawaystrategyById(id){
    return request({
        url:`/lswms/putawaystrategy/${id}`,
        method:'get'
    })
}


export function getPutawaystrategyPage(data){
    return request({
        url:'/lswms/putawaystrategy/page',
        method: 'get',
        params:data
    })
}

export function putPutawaystrategy(data){
    return request({
        url:'/lswms/putawaystrategy',
        method:'put',
        data:data
    })
}
export function postPutawaystrategy(data){
    return request({
        url:'/lswms/putawaystrategy',
        method:'post',
        data:data
    })
}

export function deletePutawaystrategy(data){
    return request({
        url:`/lswms/putawaystrategy`,
        method:'delete',
        data:data
    })
}
export function exportPutawaystrategy(data){
    return request({
        url:`/lswms/putawaystrategy/export`,
        method:'get',
        data:data,
        responseType:'blob'
    })
}
